import 'package:flutter/material.dart';

class PutSellPage extends StatefulWidget {
  final String id;
  PutSellPage({Key key, this.id}) : super(key: key);

  @override
  _PutSellPageState createState() => _PutSellPageState();
}

class _PutSellPageState extends State<PutSellPage> {
  @override
  void initState() {
    super.initState();
  }

  @override
  Widget build(BuildContext context) {
    return SafeArea(
        top: false,
        bottom: false,
        child: ListView(
          children: <Widget>[
            Text("SY65W轮胎式液压挖掘机"),
            Text("出厂日期: 2008-10-01"),
            const SizedBox(height: 24.0),
            TextFormField(
              keyboardType: TextInputType.number,
              decoration: const InputDecoration(
                border: OutlineInputBorder(),
                labelText: '售出价格',
                prefixText: '',
                suffixText: 'RMB',
                suffixStyle: TextStyle(color: Colors.green),
              ),
              maxLines: 1,
            ),
            Row(
              children: <Widget>[
                Image.asset("assets/images/rcrobot.gif", height: 30),
                Text("小树根据设备信息, 并综合市场情况, 给您建议售出价: 40万元"),
              ],
            )
          ],
        ));
  }
}
